home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / zsourc.z / zsourc
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. zzzzssssoooouuuurrrrcccc((((3333GGGG))))                                                          zzzzssssoooouuuurrrrcccc((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      zzzzssssoooouuuurrrrcccc - selects the source for z-buffering comparisons
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee zzzzssssoooouuuurrrrcccc((((ssssrrrrcccc))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 ssssrrrrcccc
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _s_r_c   expects one of two possible values:
  17.  
  18.            ZZZZSSSSRRRRCCCCDDDDEEEE, z-buffering is done by depth comparison (default).
  19.  
  20.            ZZZZSSSSRRRRCCCCCCCCOOOO, z-buffering is done by color comparison.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      By default z-buffer comparisons are done on depth data.  However, in
  24.      certain cases, it can be useful to z-buffer by comparing color values,
  25.      especially the color index values generated by the linesmooth and
  26.      pntsmooth hardware.  When the ssssrrrrcccc parameter is ZSRCDE, the z-buffer
  27.      operation is normal.  When  the ssssrrrrcccc parameter is ZSRCCO, however, source
  28.      and destination color values are compared to determine which pixels the
  29.      system draws.  In this mode, the zbuffer is not updated when a pixel is
  30.      written.
  31.  
  32.      A separate zzzzssssoooouuuurrrrcccc mode is retained by each of the framebuffers:  normal,
  33.      popup, overlay, and underlay.  The current draw mode determines which z
  34.      source mode is used, and which is modified by zzzzssssoooouuuurrrrcccc.
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      drawmo, gversi, linesm, pntsmo, zbuffe, zfunct
  38.  
  39. NNNNOOOOTTTTEEEESSSS
  40.      This subroutine does not function on IRIS-4D B or G models.
  41.  
  42.      Currently z-buffer operation is supported only in the normal framebuffer.
  43.      To insure compatibility with future releases of the GL, make calls to
  44.      zzzzssssoooouuuurrrrcccc only while draw mode is NNNNOOOORRRRMMMMAAAALLLL.
  45.  
  46.      Use zzzzssssoooouuuurrrrcccc((((ZZZZSSSSRRRRCCCCCCCCOOOO)))) for correct anti-aliasing support in color index mode
  47.      on Iris Indy and Iris Indigo.
  48.  
  49. BBBBUUUUGGGGSSSS
  50.      IRIS-4D GT and GTX models support zzzzssssoooouuuurrrrcccc((((ZZZZSSSSRRRRCCCCCCCCOOOO)))) only for non-subpixel
  51.      positioned lines drawn after a lllliiiinnnneeeessssmmmm((((SSSSMMMMLLLLOOOONNNN)))) call.
  52.  
  53.      On early serial numbers of the Personal Iris, ZSRCDE is the only
  54.      supported setting for this routine. For compatibility, they accept the
  55.      call zzzzssssoooouuuurrrrcccc((((ZZZZSSSSCCCCCCCCCCCCOOOO)))), but it has the same effect as calling
  56.      zzzzffffuuuunnnncccctttt((((ZZZZFFFFAAAALLLLWWWWAAAA)))), which turns off z value comparison. This allows the
  57.      unrestricted drawing of color values into the front and back buffers and
  58.      depth values into the z-buffer.  Use ggggvvvveeeerrrrssssiiii to determine which type of
  59.      Personal Iris you have.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. zzzzssssoooouuuurrrrcccc((((3333GGGG))))                                                          zzzzssssoooouuuurrrrcccc((((3333GGGG))))
  71.  
  72.  
  73.  
  74.      IRIS-4D VGX models support zzzzssssoooouuuurrrrcccc((((ZZZZSSSSRRRRCCCCCCCCOOOO)))) only in color map mode.
  75.      Stencil operation is undefined in this case.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.